Optimal. Leaf size=99 \[ \frac{b c f \log (F) \sin (d+e x) F^{a c+b c x}}{b^2 c^2 \log ^2(F)+e^2}-\frac{e f \cos (d+e x) F^{a c+b c x}}{b^2 c^2 \log ^2(F)+e^2}+\frac{f F^{a c+b c x}}{b c \log (F)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.158877, antiderivative size = 99, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 5, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25, Rules used = {6741, 12, 6742, 2194, 4432} \[ \frac{b c f \log (F) \sin (d+e x) F^{a c+b c x}}{b^2 c^2 \log ^2(F)+e^2}-\frac{e f \cos (d+e x) F^{a c+b c x}}{b^2 c^2 \log ^2(F)+e^2}+\frac{f F^{a c+b c x}}{b c \log (F)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6741
Rule 12
Rule 6742
Rule 2194
Rule 4432
Rubi steps
\begin{align*} \int F^{c (a+b x)} (f+f \sin (d+e x)) \, dx &=\int f F^{a c+b c x} (1+\sin (d+e x)) \, dx\\ &=f \int F^{a c+b c x} (1+\sin (d+e x)) \, dx\\ &=f \int \left (F^{a c+b c x}+F^{a c+b c x} \sin (d+e x)\right ) \, dx\\ &=f \int F^{a c+b c x} \, dx+f \int F^{a c+b c x} \sin (d+e x) \, dx\\ &=\frac{f F^{a c+b c x}}{b c \log (F)}-\frac{e f F^{a c+b c x} \cos (d+e x)}{e^2+b^2 c^2 \log ^2(F)}+\frac{b c f F^{a c+b c x} \log (F) \sin (d+e x)}{e^2+b^2 c^2 \log ^2(F)}\\ \end{align*}
Mathematica [A] time = 0.577816, size = 83, normalized size = 0.84 \[ \frac{f F^{c (a+b x)} \left (b^2 c^2 \log ^2(F) \sin (d+e x)+b^2 c^2 \log ^2(F)-b c e \log (F) \cos (d+e x)+e^2\right )}{b c \log (F) \left (b^2 c^2 \log ^2(F)+e^2\right )} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.014, size = 183, normalized size = 1.9 \begin{align*}{\frac{f{F}^{c \left ( bx+a \right ) }}{bc\ln \left ( F \right ) }}+{\frac{ef{{\rm e}^{c \left ( bx+a \right ) \ln \left ( F \right ) }}}{{e}^{2}+{b}^{2}{c}^{2} \left ( \ln \left ( F \right ) \right ) ^{2}} \left ( \tan \left ({\frac{d}{2}}+{\frac{ex}{2}} \right ) \right ) ^{2} \left ( 1+ \left ( \tan \left ({\frac{d}{2}}+{\frac{ex}{2}} \right ) \right ) ^{2} \right ) ^{-1}}-{\frac{ef{{\rm e}^{c \left ( bx+a \right ) \ln \left ( F \right ) }}}{{e}^{2}+{b}^{2}{c}^{2} \left ( \ln \left ( F \right ) \right ) ^{2}} \left ( 1+ \left ( \tan \left ({\frac{d}{2}}+{\frac{ex}{2}} \right ) \right ) ^{2} \right ) ^{-1}}+2\,{\frac{f\ln \left ( F \right ) bc{{\rm e}^{c \left ( bx+a \right ) \ln \left ( F \right ) }}\tan \left ( d/2+1/2\,ex \right ) }{ \left ( 1+ \left ( \tan \left ( d/2+1/2\,ex \right ) \right ) ^{2} \right ) \left ({e}^{2}+{b}^{2}{c}^{2} \left ( \ln \left ( F \right ) \right ) ^{2} \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.05947, size = 294, normalized size = 2.97 \begin{align*} -\frac{{\left ({\left (F^{a c} b c \log \left (F\right ) \sin \left (d\right ) + F^{a c} e \cos \left (d\right )\right )} F^{b c x} \cos \left (e x + 2 \, d\right ) -{\left (F^{a c} b c \log \left (F\right ) \sin \left (d\right ) - F^{a c} e \cos \left (d\right )\right )} F^{b c x} \cos \left (e x\right ) -{\left (F^{a c} b c \cos \left (d\right ) \log \left (F\right ) - F^{a c} e \sin \left (d\right )\right )} F^{b c x} \sin \left (e x + 2 \, d\right ) -{\left (F^{a c} b c \cos \left (d\right ) \log \left (F\right ) + F^{a c} e \sin \left (d\right )\right )} F^{b c x} \sin \left (e x\right )\right )} f}{2 \,{\left (b^{2} c^{2} \cos \left (d\right )^{2} \log \left (F\right )^{2} + b^{2} c^{2} \log \left (F\right )^{2} \sin \left (d\right )^{2} +{\left (\cos \left (d\right )^{2} + \sin \left (d\right )^{2}\right )} e^{2}\right )}} + \frac{F^{b c x + a c} f}{b c \log \left (F\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 0.487338, size = 197, normalized size = 1.99 \begin{align*} \frac{{\left (b^{2} c^{2} f \log \left (F\right )^{2} \sin \left (e x + d\right ) + b^{2} c^{2} f \log \left (F\right )^{2} - b c e f \cos \left (e x + d\right ) \log \left (F\right ) + e^{2} f\right )} F^{b c x + a c}}{b^{3} c^{3} \log \left (F\right )^{3} + b c e^{2} \log \left (F\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 12.888, size = 408, normalized size = 4.12 \begin{align*} \begin{cases} f x - \frac{f \cos{\left (d + e x \right )}}{e} & \text{for}\: F = 1 \\\tilde{\infty } e^{2} f \left (e^{- \frac{i e}{b c}}\right )^{a c} \left (e^{- \frac{i e}{b c}}\right )^{b c x} \sin{\left (d + e x \right )} + \tilde{\infty } e^{2} f \left (e^{- \frac{i e}{b c}}\right )^{a c} \left (e^{- \frac{i e}{b c}}\right )^{b c x} \cos{\left (d + e x \right )} & \text{for}\: F = e^{- \frac{i e}{b c}} \\\tilde{\infty } e^{2} f \left (e^{\frac{i e}{b c}}\right )^{a c} \left (e^{\frac{i e}{b c}}\right )^{b c x} \sin{\left (d + e x \right )} + \tilde{\infty } e^{2} f \left (e^{\frac{i e}{b c}}\right )^{a c} \left (e^{\frac{i e}{b c}}\right )^{b c x} \cos{\left (d + e x \right )} & \text{for}\: F = e^{\frac{i e}{b c}} \\F^{a c} \left (f x - \frac{f \cos{\left (d + e x \right )}}{e}\right ) & \text{for}\: b = 0 \\f x - \frac{f \cos{\left (d + e x \right )}}{e} & \text{for}\: c = 0 \\\frac{F^{a c} F^{b c x} b^{2} c^{2} f \log{\left (F \right )}^{2} \sin{\left (d + e x \right )}}{b^{3} c^{3} \log{\left (F \right )}^{3} + b c e^{2} \log{\left (F \right )}} + \frac{F^{a c} F^{b c x} b^{2} c^{2} f \log{\left (F \right )}^{2}}{b^{3} c^{3} \log{\left (F \right )}^{3} + b c e^{2} \log{\left (F \right )}} - \frac{F^{a c} F^{b c x} b c e f \log{\left (F \right )} \cos{\left (d + e x \right )}}{b^{3} c^{3} \log{\left (F \right )}^{3} + b c e^{2} \log{\left (F \right )}} + \frac{F^{a c} F^{b c x} e^{2} f}{b^{3} c^{3} \log{\left (F \right )}^{3} + b c e^{2} \log{\left (F \right )}} & \text{otherwise} \end{cases} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [C] time = 1.26293, size = 1270, normalized size = 12.83 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]